home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
pcboard
/
vrs501.zip
/
VRS-M10.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-10-08
|
12KB
|
398 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
String STRING001
String STRING002
String STRING003
String STRING004
String TSTRING005(20)
;------------------------------------------------------------------------------
Goto LABEL001
End
If (0 == 0) STRING001 = "NO"
If (0 == 1) STRING001 = "YES"
EndFunc
:LABEL001
STRING003 = String(PcbNode())
If (PcbNode() == 0) STRING003 = "A"
STRING004 = GetEnv(STRING003 + "RECNO")
STRING004 = ToInteger(STRING004)
TSTRING005(0) = " @X0CBLOWOUT VAPOR THREE...@X0A"
TSTRING005(1) = " @X0CI KNEW YOUR FATHER IN THE CLONE WARS...@X0A"
TSTRING005(2) = " @X0CDAMN IT, JIM...@X0A"
TSTRING005(3) = " @X0CAND THE MOST WONDERFUL THING ABOUT TIGGERS...@X0A"
TSTRING005(4) = " @X0CENGAGE!@X0A"
TSTRING005(5) = " @X0CRAISE SHIELDS...@X0A"
TSTRING005(6) = " @X0CI CAN'T HOLD ALTITUDE...@X0A"
TSTRING005(7) = " @X0CIGUANAS WITH WASHED HANDS ARE THE BEST KIND...@X0A"
TSTRING005(8) = " @X0CAHEAD WARP FACTOR THREE, MR. SULU...@X0A"
TSTRING005(9) = " @X0CBLOOD AND SOULS FOR MY LORD ARIOCH!@X0A"
TSTRING005(10) = " @X0CAND THE RESET BUTTON LETS YOU RE-RUN AUTOEXEC.BAT...@X0A"
TSTRING005(11) = " @X0C'Twas brillig, and the slithy toves...@X0A"
TSTRING005(12) = " @X0COne side makes you taller...@X0A"
TSTRING005(13) = " @X0CYou're all a deck of cards...@X0A"
TSTRING005(14) = " @X0CPennyworth only of beautiful Soup...@X0A"
TSTRING005(15) = " @X0C'Tis the voice of the Lobster...@X0A"
TSTRING005(16) = " @X0CLlamas are larger than frogs...@X0A"
TSTRING005(17) = " @X0Cbar... bar...@X0A"
TSTRING005(18) = " @X0CElf shot the food...@X0A"
TSTRING005(19) = " @X0CIgnore the man behind the curtain...@X0A"
TSTRING005(20) = " @X0CI do NOT like you Dr. Fell..."
:LABEL002
DCloseAll
DOpen 0, PPEPath() + "USER.DBF", 0
DGo 0, STRING004
If (DGet(0, "VITALITY") <> "Y") Goto LABEL008
If (DGet(0, "R_FTS_L") == 0) Then
INTEGER001 = 0
Cls
PrintLn "@X1F@POS:15@ LIFE:@X1A ", Trim(DGet(0, "HITPTS_L"), " "), " @X1FEXP:@X1A ", Trim(DGet(0, "EXP"), " "), " @X1FCASH:@X1A ", Trim(DGet(0, "CASH"), " "), " @X1FINFECTION:@X1A ", Trim(DGet(0, "INFECTED"), " "), "@X1F%@X1A", "@X1F@POS:79@@X0F"
Newlines 10
PrintLn " @X0BYou've had a hard day of fighting, soldier. You head back to the lift @X07"
PrintLn " @X0Band return to the upper levels. A cold brew is the top thing on your @X07"
PrintLn " @X0Bmind at the moment... @X07"
PrintLn
Call PPEPath() + "VRS-M19.PPE"
Else
Cls
PrintLn "@X1F@POS:15@ LIFE:@X1A ", Trim(DGet(0, "HITPTS_L"), " "), " @X1FEXP:@X1A ", Trim(DGet(0, "EXP"), " "), " @X1FCASH:@X1A ", Trim(DGet(0, "CASH"), " "), " @X1FINFECTION:@X1A ", Trim(DGet(0, "INFECTED"), " "), "@X1F%@X1A", "@X1F@POS:79@@X0F"
Newlines 4
PrintLn "@X0ALooking around here at the bottom of the Turboshaft, you're relieved @X07"
PrintLn "@X0Ato see that there is a RoboMedic attached to the bottom of the lift, @X07"
PrintLn "@X0Aespecially considering the stench of rotting flesh that pervades the @X07"
PrintLn "@X0Aatmosphere down here..... @X07"
Newlines 3
InputStr "@X0E(@X0BR@X0E)eturn (@X0BM@X0E)edic (@X0BL@X0E)ook Around > _", STRING002, 10, 1, "RML", 0 + 8
Newlines 2
If (STRING002 == "") Goto LABEL002
Select Case (STRING002)
Case "R"
Goto LABEL008
Case "M"
Call PPEPath() + "VRS-M7.PPE"
Goto LABEL002
Case "L"
INTEGER001 = Random(10)
If (INTEGER001 > 7) Then
Call PPEPath() + "VRS-M100.PPE"
INTEGER001 = 0
Goto LABEL002
Endif
If (INTEGER001 == 1) Then
Gosub LABEL003
INTEGER001 = 0
Goto LABEL002
Endif
If (INTEGER001 == 2) Then
Gosub LABEL004
INTEGER001 = 0
Goto LABEL002
Endif
If (INTEGER001 == 3) Then
Gosub LABEL005
INTEGER001 = 0
Goto LABEL002
Goto LABEL003
Endif
If (INTEGER001 == 4) Then
Gosub LABEL006
INTEGER001 = 0
Goto LABEL002
Goto LABEL003
Endif
If (INTEGER001 == 5) Then
Goto LABEL007
INTEGER001 = 0
Goto LABEL002
Goto LABEL003
Endif
If (INTEGER001 == 6) Then
Call PPEPath() + "VRS-M4.PPE"
Goto LABEL002
Goto LABEL003
Endif
Case 7
Call PPEPath() + "VRS-M6.PPE"
Goto LABEL002
End Select
:LABEL003
Cls
PrintLn "@X1F@POS:15@ LIFE:@X1A ", Trim(DGet(0, "HITPTS_L"), " "), " @X1FEXP:@X1A ", Trim(DGet(0, "EXP"), " "), " @X1FCASH:@X1A ", Trim(DGet(0, "CASH"), " "), " @X1FINFECTION:@X1A ", Trim(DGet(0, "INFECTED"), " "), "@X1F%@X1A", "@X1F@POS:79@@X0F"
Newlines 4
PrintLn "@X0BWandering about the warren of tunnels down here, you come across what@X0A"
PrintLn "@X0Blooks to be a field issue Medikit. It's a bit worse for wear, and has@X0A"
PrintLn "@X0Bmarkings on it that you recognize as meaning Army Issue - Experimental.@X0A"
Newlines 3
InputStr "@X0E(@X0BU@X0E)se Kit ENTER to return > ", STRING002, 10, 1, "U", 0 + 8
If (STRING002 == "") Goto LABEL002
If (STRING002 == "U") Then
INTEGER001 = Random(2)
If (INTEGER001 == 0) Then
Backup 80
ClrEol
PrintLn " @X0BYou feel a bit @X0Cs@X0DP@X0Ea@X09C@X0Ay@X0B.@X0C.@X0D.@X0E.@X0A"
PrintLn
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL006
Endif
If (INTEGER001 == 1) Then
Backup 80
ClrEol
PrintLn "@X0BYou always take drugs you find lying around? You're violently ill.@X0A"
PrintLn "@X0BIn fact, you coughed up @X0EYESTERDAY'S @X0Bbreakfast.@X0A "
INTEGER001 = DGet(0, "HITPTS_L") / 10
DPut 0, "HITPTS_L", DGet(0, "HITPTS_L") - INTEGER001
If (DGet(0, "HITPTS_L") < 1) Then
DPut 0, "VITALITY", "N"
PrintLn "@X0CIn fact, you died from poisoning...@X0A"
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL008
Endif
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
If (INTEGER001 == 2) Then
Backup 80
ClrEol
INTEGER002 = Random(2)
PrintLn "@X0BYou've always had a sneaking suspicion that the Army labs had a lot of@X0A"
PrintLn "@X0Bneat stuff that the Corps never got their hands on. You feel wonderful.@X0A"
PrintLn "@X0BAny physical damage to your system is being repaired - you can FEEL the@X0A"
If (INTEGER002 == 0) Then
If (DGet(0, "DEF_STR") < 60) PrintLn "@X0Bcuts closing, the bruises healing.... Your defensive strength goes up @X0D3@X0B!@X0A"
If (DGet(0, "DEF_STR") >= 60) PrintLn "@X0Bcuts closing, the bruises healing....!@X0A"
DPut 0, "HITPTS_L", DGet(0, "HITPTS_B")
If (DGet(0, "DEF_STR") < 60) DPut 0, "DEF_STR", DGet(0, "DEF_STR") + 3
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
If (INTEGER002 == 1) Then
If (DGet(0, "OFF_STR") < 60) PrintLn "@X0Bcuts closing, the bruises healing.... Your offensive strength goes up @X0D3@X0B!@X0A"
If (DGet(0, "OFF_STR") >= 60) PrintLn "@X0Bcuts closing, the bruises healing....!@X0A"
DPut 0, "HITPTS_L", DGet(0, "HITPTS_B")
If (DGet(0, "OFF_STR") < 60) DPut 0, "OFF_STR", DGet(0, "OFF_STR") + 3
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
If (INTEGER002 == 2) Then
PrintLn "@X0Bcuts closing, the bruises healing....!@X0A"
DPut 0, "HITPTS_L", DGet(0, "HITPTS_B")
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
Endif
Endif
:LABEL004
Cls
PrintLn "@X1F@POS:15@ LIFE:@X1A ", Trim(DGet(0, "HITPTS_L"), " "), " @X1FEXP:@X1A ", Trim(DGet(0, "EXP"), " "), " @X1FCASH:@X1A ", Trim(DGet(0, "CASH"), " "), " @X1FINFECTION:@X1A ", Trim(DGet(0, "INFECTED"), " "), "@X1F%@X1A", "@X1F@POS:79@@X0F"
Newlines 4
PrintLn "@X0BYou come across a badly damaged Xanadu Bank ATM machine. The screen@X0A"
PrintLn "@X0Bis flickering, and the scanner is only lighting up on the right side.@X0A"
Newlines 3
InputStr "@X0E(@X0BU@X0E)se ATM ENTER to Return > ", STRING002, 10, 1, "U", 0 + 8
If (STRING002 == "") Goto LABEL002
If (STRING002 == "U") Then
INTEGER003 = Random(1)
If (INTEGER003 == 0) Then
Backup 80
ClrEol
PrintLn "@X0BYour account info comes up on the screen... and the balance is....@X0A"
PrintLn "@X0CLOWER @X0Bthan it should be! The machine @X0CATE @X0E20% @X0Bof your money!@X0A"
INTEGER004 = DGet(0, "BANKED") / 5
DPut 0, "BANKED", DGet(0, "BANKED") - INTEGER001
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
If (INTEGER003 == 1) Then
Backup 80
ClrEol
PrintLn "@X0BYour account info comes up on the screen... and the balance is....@X0A"
PrintLn "@X0E20% @X0CHIGHER @X0Bthan it should be! @X0DThe computer is your friend!@X0A"
INTEGER004 = DGet(0, "BANKED") / 5
DPut 0, "BANKED", DGet(0, "BANKED") + INTEGER001
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
Endif
:LABEL005
Cls
PrintLn "@X1F@POS:15@ LIFE:@X1A ", Trim(DGet(0, "HITPTS_L"), " "), " @X1FEXP:@X1A ", Trim(DGet(0, "EXP"), " "), " @X1FCASH:@X1A ", Trim(DGet(0, "CASH"), " "), " @X1FINFECTION:@X1A ", Trim(DGet(0, "INFECTED"), " "), "@X1F%@X1A", "@X1F@POS:79@@X0F"
PrintLn
PrintLn "@X0EYou notice some grafitti on the wall...@X0A"
Newlines 3
INTEGER005 = Random(6)
If (INTEGER005 == 0) Then
PrintLn "@X0B You talk o' better food for us, an' schools, an' fires, an' all;@X0A"
PrintLn "@X0B We'll wait for extry rations if you treat us rational.@X0A"
PrintLn "@X0B Don't mess about the cook-room slops, but prove it to our face@X0A"
PrintLn "@X0B The Widow's Uniform is not the soldier-man's disgrace.@X0A"
PrintLn
PrintLn "@X0B For it's Tommy this an' Tommy that, an' 'Chuck him out, the brute!'@X0A"
PrintLn "@X0B But it's 'Saviour of 'is country,' when the guns begin to shoot;@X0A"
PrintLn "@X0B Yes, it's Tommy this, and Tommy that, an' anything you please;@X0A"
PrintLn "@X0B But Tommy ain't a bloomin' fool - you bet that Tommy sees!@X0A"
Newlines 2
PrintLn " Sounds like one of your compatriots is a bit annoyed, eh?"
Newlines 2
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
If (INTEGER005 == 1) Then
PrintLn "@X0B You may talk o' gin and beer@X0A"
PrintLn "@X0B When you're quartered safe out 'ere,@X0A"
PrintLn "@X0B An' you're sent to penny-fights an' Aldershot it;@X0A"
PrintLn "@X0B But when it comes to slaughter,@X0A"
PrintLn "@X0B You will do your work on water,@X0A"
PrintLn "@X0B Any you'll lick the bloomin' boots of 'm that's got it.@X0A"
Newlines 2
PrintLn " Sounds like someone's a bit annoyed, eh?"
Newlines 2
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
If (INTEGER005 == 2) Then
PrintLn "@X0B 'Is cot was right-'and cot to mine, said Files-on-Parade.@X0A"
PrintLn "@X0B 'E's sleepin' out an' far to-night, the Color-Sergeant said.@X0A"
PrintLn "@X0B I've drunk 'is beer a score o' times said Files-on-Parade.@X0A"
PrintLn "@X0B 'E's drinkin' bitter beer alone, the Color-Sergeant said.@X0A"
PrintLn
PrintLn "@X0B They are hangin' Danny Deever, you must mark 'im to 'is place,@X0A"
PrintLn "@X0B For 'e shot a comrade sleepin' - you must look 'im in the face;@X0A"
PrintLn "@X0B Nine 'undred of 'is county and the regiment's disgrace,@X0A"
PrintLn "@X0B While they're hanging Danny Deever in the morning@X0A"
Newlines 2
PrintLn " You reflect on just what the mutant virus can do to people...."
Newlines 2
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
If (INTEGER005 == 3) Then
PrintLn "The croupier lies - it goes off one in three..."
Newlines 2
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
If (INTEGER005 == 4) Then
PrintLn "Avoid Felix at all costs!"
Newlines 2
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
If (INTEGER005 == 5) Then
PrintLn "@X0BThe bartender's REAL name is Bevan...@X0F"
Newlines 2
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
:LABEL006
Newline
PrintLn "@X03A voice, apparently from nowhere, mutters@X0E:@X0F"
INTEGER006 = Random(20)
Newlines 2
PrintLn TSTRING005(INTEGER006)
Newlines 2
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
:LABEL007
PrintLn "@X08Gets boring down here after a while, eh?@X0F"
Newline
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL002
Endif
:LABEL008
DCloseAll
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 5 Cls
; 5 ClrEol
; 68 Goto
; 43 Let
; 70 PrintLn
; 42 If
; 3 InputStr
; 4 Gosub
; 2 Newline
; 20 Newlines
; 21 Call
; 5 Backup
; 1 EndFunc
; 1 DOpen
; 2 DCloseAll
; 1 DGo
; 9 DPut
;
;
; ■ Functions used :
;
; 3 /
; 29 +
; 2 -
; 33 ==
; 1 <>
; 5 <
; 1 >
; 2 >=
; 29 !
; 20 Trim()
; 6 Random()
; 1 String()
; 22 PPEPath()
; 2 PcbNode()
; 1 GetEnv()
; 1 ToInteger()
; 40 DGet()
;
;------------------------------------------------------------------------------
;
; Analysis flags : C
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 25 If/Then or If/Then/Else
; 1 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------